<?php
session_start();
include('conexion.inc.php');
  $link=Conectarse();
  mysql_select_db("gotica_sociosgotica" ,$link);
 $sql= "DELETE FROM usuariolinea where usuario=".$_SESSION["k_username"];
 $resulta = mysql_query($sql);
session_destroy();
?>
<SCRIPT LANGUAGE="javascript">
location.href = "index.php";
</SCRIPT>